
//  RequestUrl.h
//  LazyCat


#ifndef LazyCat_RequestUrl_h
#define LazyCat_RequestUrl_h

//================================================================
                        /** 推送key*/
//================================================================
// AppStore
//#define kAppId           @"0kIvlriyoa5DUkLZDVLW7"
//#define kAppKey          @"DrRMHktxdyAZgdXGdUH487"
//#define kAppSecret       @"ipQUXZtZ2r5lY0e2s9chq3"

// 正式企业版
//#define kAppId           @"5gzwKVqYJS9PGymcKdNUx8"
//#define kAppKey          @"Z8al1TyV9U8idHUSMYnHF4"
//#define kAppSecret       @"ZPZwPiJfYyALhcN23NHDZ"

// 测试版
//#define kAppId           @"yzIv0YGotB9aRHP7PPcg2"
//#define kAppKey          @"kyUQzudgfhADAtwEYqco56"
//#define kAppSecret       @"VwUPKPKwlW5aPl17Eofws6"

//#define isAppStore @"YES"
// 如果AppStore 版本值为:AppStore.IOS1.0.2
// 如果企业版 版本值为:IOS1.0.2
// 企业版越过1.0.3
#define banBen @"IOS1.0.0"

/** 关于我们商家版*/  //如果是企业版plat=ios,appstore版plat=appstoreios
//================================================================
//================================================================


/********************************链接地址***********************************/

//#define BaseUrl @"http://m.lmboss.com"  //接口
//#define StaticUrl @"http://m.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5

//#define BaseUrl @"http://m.ivpin.com"  //接口
//#define StaticUrl @"http://m.ivpin.com/AppGetway/AppToWeb.aspx?"    //html5

#define BaseUrl @"http://mtest.ivpin.com"  //接口
#define StaticUrl @"http://mtest.ivpin.com/AppGetway/AppToWeb.aspx?"    //html5

//#define BaseUrl @"http://192.168.1.22:8180"  //接口
//#define StaticUrl @"http://192.168.1.22:8180/AppGetway/AppToWeb.aspx?"    //🐟志新接口

//#define BaseUrl @"http://192.168.1.22"  //接口
//#define StaticUrl @"http://192.168.1.22/AppGetway/AppToWeb.aspx?"    //html5


//#define BaseUrl @"http://192.168.1.27:8080"  //接口
//#define StaticUrl @"http://192.168.1.27:8080/AppGetway/AppToWeb.aspx?"    //html5


//#define ShoppingOrderBaseUrl @"http://mtest.ivpin.com/AppAutoLogin?"    //购物车的baseUrl
/**
 *  newChange
 */
//产品管理分类接口....
#define GoodsManagerCategoryUrl BaseUrl @"/WPT-OpenAPI?action=GetCategory&pos=&control=LCatBusiness&Shopuser=%@"
/**
 *  通过商品名和分类ID获取商家商品列表
 */
#define GoodsManagerListUrl BaseUrl @"/WPT-OpenAPI?action=GetProducts&pos=&control=LCatBusiness&Shopuser=%@&Categoryid=%@&Ispublic=%@&Pagesize=%@&Pageindex=%@"
/**
 *  公共库获取上面分类
 */
#define ProductGGK BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=GetCommonCategory"

/**
 *  公共库列表接口
 */
#define ProductListGGK BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=GetComProductByCate&categoryid=%@&pagesize=%@&pageindex=%@"

//提交修改商品
#define ChangeProductDataUrl BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=BatchCitePrd"

//公共库搜索商品
#define SearchGoodsUrl BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=GetComProductByName&name=%@"
//http://localhost:29990/WPT-OpenAPI?control=LCatBusiness&action=GetComProductByName&name=金龙鱼葵花籽&categoryid=300&sign=2da414273c418cdcaea7ba6e9c49f141&terminal=iPhoneOS8.4,Simulator&OSVersion=IOS1.0.8

//搜索（为扫码库）商品
//http://192.168.1.22:8089/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=15&pageIndex=1&sign=2da414273c418cdcaea7ba6e9c49f141&terminal=iPhoneOS8.4,Simulator&OSVersion=IOS1.0.8&prdname=雅哈 冰咖啡 450ml*15瓶

//搜索...未扫码
#define ScanSearchGoodUrl BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=%@&pageIndex=%@&sign=%@&prdname=%@"
//搜索..已扫码
#define ScanedSearchGoodUrl BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=SearchScanedProd&pagesize=%@&pageIndex=%@&prdname=%@"


//SCAN 分类项
#define CateGoryUrl BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=GetMallCategoryPiFa&sign=%@"

//SCAN AllList全部
#define ScanAllList BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=%@&pageIndex=%@&sign=%@&parentCategoryId=%@"
//http://192.168.1.22:8089/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=15&pageIndex=1&sign=2da414273c418cdcaea7ba6e9c49f141&terminal=iPhoneOS8.4,Simulator&OSVersion=IOS1.0.8&parentCategoryId=371

//SCAN list
#define ScanList BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=%@&pageIndex=%@&sign=%@&categoryid=%@"
//http://192.168.1.22:8089/WPT-OpenAPI?control=ShopCommon&action=SearchProdByPrdName&pagesize=15&pageIndex=1&sign=2da414273c418cdcaea7ba6e9c49f141&terminal=iPhoneOS8.4,Simulator&OSVersion=IOS1.0.8&categoryid=364

//UpLoadInformation // 修改条形码数据
#define UpLoadInformation BaseUrl @"/WPT-OpenAPI?control=ProductBarCode&action=ModifyBarCode&username=%@&barcode=%@&productid=%@"
//http://mtest.lmboss.com/WPT-OpenAPI?control=ProductBarCode&action=ModifyBarCode&username=xxx&barcode=xxxxxxxxxxx&productid=1000123&Terminal=samsung442SCH-R970&OSVersion=android2.0.3&sign2=0e1063aab7b30012139cf30f3b35c0d6
//已扫码商品...
#define ScanedProductUrl BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=SearchScanedProd&pagesize=%@&pageIndex=%@"
//http://192.168.1.22:8180/WPT-OpenAPI?control=ShopCommon&action=SearchScanedProd&pagesize=1&pageIndex=1&sign=2da414273c418cdcaea7ba6e9c49f141&terminal=iPhoneOS8.4,Simulator&OSVersion=IOS1.0.8
#endif
